package cn.com.bluemoon.daps.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SearchRecordTableVo {

    @ApiModelProperty(value = "每页显示的数量")
    @NotNull(message = "每页显示的数量不允许为空")
    private Integer pageSize;

    @ApiModelProperty(value = "当前页码数")
    @NotNull(message = "当前页码数不允许为空")
    private Integer pageNum;

    @ApiModelProperty(value = "表中文名")
    private String tableName;

    @ApiModelProperty(value = "表英文名")
    private String tableEngName;

    @ApiModelProperty(value = "最后变更类型,1-3 新增表、删除表、修改表")
    private Integer lastChangeType;

    @ApiModelProperty(value = "发布记录id")
    @NotNull(message = "发布记录id不允许为空")
    private String recordId;
}
